home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: seebs@solutions.solon.com (Peter Seebach)
- Newsgroups: comp.lang.c
- Subject: Re: help with program
- Date: 16 Apr 1996 14:55:26 -0500
- Organization: Usenet Fact Police (Undercover)
- Message-ID: <4l0tve$l8v@solutions.solon.com>
- References: <4kkgde$t2m@news.duke.edu> <4kvl0e$g4c@hpbblb.bbn.hp.com>
- Reply-To: seebs@solon.com
- NNTP-Posting-Host: solutions.solon.com
-
- In article <4kvl0e$g4c@hpbblb.bbn.hp.com>, Matthias Dittrich <matti> wrote:
- >The function scanf() requires a '\n' character to accept input. You have to
- >remove this character from the input stream. A call of fflush(stdin) before
- >each scanf() should work.
-
- No, it shouldn't. It's illegal, and may (and *will*) dump core, abort, do
- nothing, shove unexpected characters on your input stream, write unexpected
- characters on your output stream, or do any number of other things.
-
- Please refrain from posting bogus advice; this is covered *correctly* in the
- FAQ.
-
- Also, please configure your browser to give a valid return address; "matti"
- is not sufficient to identify you.
-
- -s
- --
- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
- C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
- Unsolicited email is not welcome, and will be billed for at consulting rates.
- The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
-